package com.sailing.xjpb.orm.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

/**
 * 推荐使用SailingJpaRepository
 *
 * @param <T> 对象类型
 */
@Deprecated
@NoRepositoryBean
public interface PageNoCountJpaRepository<T> extends JpaSpecificationExecutor<T> {
    Page<T> findAllNoCount(Specification<T> spec, Pageable pageable);
}
